package com.ktjy.mapper.user;

@Hours(hours= {4, 4.5, 2})

public class Worker {
    public static void main(String[] args) {
        Hours[] hours = Worker.class.getAnnotationsByType(Hours.class);
        for (Hours hour : hours) {
            System.out.println(hour);
        }
    }
}
